package com.liy.supercloud.ssoclient.config;

import feign.Contract;
import feign.Contract.Default;
import feign.Logger.Level;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DefaultFeignConfiguration {

    @Bean({"DefaultContract"})
    public Contract feignContract() {
        return new Default();
    }

    @Bean
    Level feignLoggerLevel() {
        return Level.FULL;
    }
}
